efi: include irq.h to fix compile error in runtime.c
authorOlaf Hering <olaf@aepfle.de>
Sat, 16 Jul 2011 08:25:48 +0000 (09:25 +0100)
committerOlaf Hering <olaf@aepfle.de>
Sat, 16 Jul 2011 08:25:48 +0000 (09:25 +0100)
runtime.c: In function 'efi_rs_enter':
runtime.c:45:5: error: implicit declaration of function 'irq_enter'
[-Werror=implicit-function-declaration]
runtime.c:45:5: error: nested extern declaration of 'irq_enter'
[-Werror=nested-externs]
runtime.c: In function 'efi_rs_leave':
runtime.c:75:5: error: implicit declaration of function 'irq_exit'
[-Werror=implicit-function-declaration]
runtime.c:75:5: error: nested extern declaration of 'irq_exit'
[-Werror=nested-externs]

Signed-off-by: Olaf Hering <olaf@aepfle.de>
xen/arch/x86/efi/runtime.c

index 6286b6a1c85b12f2700f09553abb402eb194b421..a79e8c6745d3a88d28c9caa92fe619e6c00cad25 100644 (file)
@@ -3,6 +3,7 @@
 #include <xen/errno.h>
 #include <xen/guest_access.h>
 #include <xen/time.h>
+#include <xen/irq.h>
 
 DEFINE_XEN_GUEST_HANDLE(CHAR16);